package com.campus.mapper;

import com.campus.entity.Teacher;
import org.apache.ibatis.annotations.Insert;
import org.mapstruct.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface TeacherMapper {

    void insertTeacher(Teacher teacher);
    // 根据教师ID查询教师信息
    Teacher getTeacherById(Integer id);

    // 根据筛选条件查询教师信息
    List<Teacher> selectTeachersByCriteria(Teacher teacher);
}
